package pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WlActivityLuckyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WlActivityLuckyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andLuckytypeIsNull() {
            addCriterion("luckyType is null");
            return (Criteria) this;
        }

        public Criteria andLuckytypeIsNotNull() {
            addCriterion("luckyType is not null");
            return (Criteria) this;
        }

        public Criteria andLuckytypeEqualTo(Integer value) {
            addCriterion("luckyType =", value, "luckytype");
            return (Criteria) this;
        }

        public Criteria andLuckytypeNotEqualTo(Integer value) {
            addCriterion("luckyType <>", value, "luckytype");
            return (Criteria) this;
        }

        public Criteria andLuckytypeGreaterThan(Integer value) {
            addCriterion("luckyType >", value, "luckytype");
            return (Criteria) this;
        }

        public Criteria andLuckytypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("luckyType >=", value, "luckytype");
            return (Criteria) this;
        }

        public Criteria andLuckytypeLessThan(Integer value) {
            addCriterion("luckyType <", value, "luckytype");
            return (Criteria) this;
        }

        public Criteria andLuckytypeLessThanOrEqualTo(Integer value) {
            addCriterion("luckyType <=", value, "luckytype");
            return (Criteria) this;
        }

        public Criteria andLuckytypeIn(List<Integer> values) {
            addCriterion("luckyType in", values, "luckytype");
            return (Criteria) this;
        }

        public Criteria andLuckytypeNotIn(List<Integer> values) {
            addCriterion("luckyType not in", values, "luckytype");
            return (Criteria) this;
        }

        public Criteria andLuckytypeBetween(Integer value1, Integer value2) {
            addCriterion("luckyType between", value1, value2, "luckytype");
            return (Criteria) this;
        }

        public Criteria andLuckytypeNotBetween(Integer value1, Integer value2) {
            addCriterion("luckyType not between", value1, value2, "luckytype");
            return (Criteria) this;
        }

        public Criteria andLuckycodeIsNull() {
            addCriterion("luckyCode is null");
            return (Criteria) this;
        }

        public Criteria andLuckycodeIsNotNull() {
            addCriterion("luckyCode is not null");
            return (Criteria) this;
        }

        public Criteria andLuckycodeEqualTo(String value) {
            addCriterion("luckyCode =", value, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckycodeNotEqualTo(String value) {
            addCriterion("luckyCode <>", value, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckycodeGreaterThan(String value) {
            addCriterion("luckyCode >", value, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckycodeGreaterThanOrEqualTo(String value) {
            addCriterion("luckyCode >=", value, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckycodeLessThan(String value) {
            addCriterion("luckyCode <", value, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckycodeLessThanOrEqualTo(String value) {
            addCriterion("luckyCode <=", value, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckycodeLike(String value) {
            addCriterion("luckyCode like", value, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckycodeNotLike(String value) {
            addCriterion("luckyCode not like", value, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckycodeIn(List<String> values) {
            addCriterion("luckyCode in", values, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckycodeNotIn(List<String> values) {
            addCriterion("luckyCode not in", values, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckycodeBetween(String value1, String value2) {
            addCriterion("luckyCode between", value1, value2, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckycodeNotBetween(String value1, String value2) {
            addCriterion("luckyCode not between", value1, value2, "luckycode");
            return (Criteria) this;
        }

        public Criteria andLuckynameIsNull() {
            addCriterion("luckyName is null");
            return (Criteria) this;
        }

        public Criteria andLuckynameIsNotNull() {
            addCriterion("luckyName is not null");
            return (Criteria) this;
        }

        public Criteria andLuckynameEqualTo(String value) {
            addCriterion("luckyName =", value, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckynameNotEqualTo(String value) {
            addCriterion("luckyName <>", value, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckynameGreaterThan(String value) {
            addCriterion("luckyName >", value, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckynameGreaterThanOrEqualTo(String value) {
            addCriterion("luckyName >=", value, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckynameLessThan(String value) {
            addCriterion("luckyName <", value, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckynameLessThanOrEqualTo(String value) {
            addCriterion("luckyName <=", value, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckynameLike(String value) {
            addCriterion("luckyName like", value, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckynameNotLike(String value) {
            addCriterion("luckyName not like", value, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckynameIn(List<String> values) {
            addCriterion("luckyName in", values, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckynameNotIn(List<String> values) {
            addCriterion("luckyName not in", values, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckynameBetween(String value1, String value2) {
            addCriterion("luckyName between", value1, value2, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckynameNotBetween(String value1, String value2) {
            addCriterion("luckyName not between", value1, value2, "luckyname");
            return (Criteria) this;
        }

        public Criteria andLuckydescIsNull() {
            addCriterion("luckyDesc is null");
            return (Criteria) this;
        }

        public Criteria andLuckydescIsNotNull() {
            addCriterion("luckyDesc is not null");
            return (Criteria) this;
        }

        public Criteria andLuckydescEqualTo(String value) {
            addCriterion("luckyDesc =", value, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckydescNotEqualTo(String value) {
            addCriterion("luckyDesc <>", value, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckydescGreaterThan(String value) {
            addCriterion("luckyDesc >", value, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckydescGreaterThanOrEqualTo(String value) {
            addCriterion("luckyDesc >=", value, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckydescLessThan(String value) {
            addCriterion("luckyDesc <", value, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckydescLessThanOrEqualTo(String value) {
            addCriterion("luckyDesc <=", value, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckydescLike(String value) {
            addCriterion("luckyDesc like", value, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckydescNotLike(String value) {
            addCriterion("luckyDesc not like", value, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckydescIn(List<String> values) {
            addCriterion("luckyDesc in", values, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckydescNotIn(List<String> values) {
            addCriterion("luckyDesc not in", values, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckydescBetween(String value1, String value2) {
            addCriterion("luckyDesc between", value1, value2, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckydescNotBetween(String value1, String value2) {
            addCriterion("luckyDesc not between", value1, value2, "luckydesc");
            return (Criteria) this;
        }

        public Criteria andLuckyimageIsNull() {
            addCriterion("luckyImage is null");
            return (Criteria) this;
        }

        public Criteria andLuckyimageIsNotNull() {
            addCriterion("luckyImage is not null");
            return (Criteria) this;
        }

        public Criteria andLuckyimageEqualTo(String value) {
            addCriterion("luckyImage =", value, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckyimageNotEqualTo(String value) {
            addCriterion("luckyImage <>", value, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckyimageGreaterThan(String value) {
            addCriterion("luckyImage >", value, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckyimageGreaterThanOrEqualTo(String value) {
            addCriterion("luckyImage >=", value, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckyimageLessThan(String value) {
            addCriterion("luckyImage <", value, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckyimageLessThanOrEqualTo(String value) {
            addCriterion("luckyImage <=", value, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckyimageLike(String value) {
            addCriterion("luckyImage like", value, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckyimageNotLike(String value) {
            addCriterion("luckyImage not like", value, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckyimageIn(List<String> values) {
            addCriterion("luckyImage in", values, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckyimageNotIn(List<String> values) {
            addCriterion("luckyImage not in", values, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckyimageBetween(String value1, String value2) {
            addCriterion("luckyImage between", value1, value2, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckyimageNotBetween(String value1, String value2) {
            addCriterion("luckyImage not between", value1, value2, "luckyimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageIsNull() {
            addCriterion("luckyBackImage is null");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageIsNotNull() {
            addCriterion("luckyBackImage is not null");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageEqualTo(String value) {
            addCriterion("luckyBackImage =", value, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageNotEqualTo(String value) {
            addCriterion("luckyBackImage <>", value, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageGreaterThan(String value) {
            addCriterion("luckyBackImage >", value, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageGreaterThanOrEqualTo(String value) {
            addCriterion("luckyBackImage >=", value, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageLessThan(String value) {
            addCriterion("luckyBackImage <", value, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageLessThanOrEqualTo(String value) {
            addCriterion("luckyBackImage <=", value, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageLike(String value) {
            addCriterion("luckyBackImage like", value, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageNotLike(String value) {
            addCriterion("luckyBackImage not like", value, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageIn(List<String> values) {
            addCriterion("luckyBackImage in", values, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageNotIn(List<String> values) {
            addCriterion("luckyBackImage not in", values, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageBetween(String value1, String value2) {
            addCriterion("luckyBackImage between", value1, value2, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andLuckybackimageNotBetween(String value1, String value2) {
            addCriterion("luckyBackImage not between", value1, value2, "luckybackimage");
            return (Criteria) this;
        }

        public Criteria andBegintimeIsNull() {
            addCriterion("beginTime is null");
            return (Criteria) this;
        }

        public Criteria andBegintimeIsNotNull() {
            addCriterion("beginTime is not null");
            return (Criteria) this;
        }

        public Criteria andBegintimeEqualTo(Date value) {
            addCriterion("beginTime =", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeNotEqualTo(Date value) {
            addCriterion("beginTime <>", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeGreaterThan(Date value) {
            addCriterion("beginTime >", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeGreaterThanOrEqualTo(Date value) {
            addCriterion("beginTime >=", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeLessThan(Date value) {
            addCriterion("beginTime <", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeLessThanOrEqualTo(Date value) {
            addCriterion("beginTime <=", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeIn(List<Date> values) {
            addCriterion("beginTime in", values, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeNotIn(List<Date> values) {
            addCriterion("beginTime not in", values, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeBetween(Date value1, Date value2) {
            addCriterion("beginTime between", value1, value2, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeNotBetween(Date value1, Date value2) {
            addCriterion("beginTime not between", value1, value2, "begintime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNull() {
            addCriterion("endTime is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNotNull() {
            addCriterion("endTime is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeEqualTo(Date value) {
            addCriterion("endTime =", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotEqualTo(Date value) {
            addCriterion("endTime <>", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThan(Date value) {
            addCriterion("endTime >", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("endTime >=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThan(Date value) {
            addCriterion("endTime <", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThanOrEqualTo(Date value) {
            addCriterion("endTime <=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIn(List<Date> values) {
            addCriterion("endTime in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotIn(List<Date> values) {
            addCriterion("endTime not in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeBetween(Date value1, Date value2) {
            addCriterion("endTime between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotBetween(Date value1, Date value2) {
            addCriterion("endTime not between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andRepeattipsIsNull() {
            addCriterion("repeatTips is null");
            return (Criteria) this;
        }

        public Criteria andRepeattipsIsNotNull() {
            addCriterion("repeatTips is not null");
            return (Criteria) this;
        }

        public Criteria andRepeattipsEqualTo(String value) {
            addCriterion("repeatTips =", value, "repeattips");
            return (Criteria) this;
        }

        public Criteria andRepeattipsNotEqualTo(String value) {
            addCriterion("repeatTips <>", value, "repeattips");
            return (Criteria) this;
        }

        public Criteria andRepeattipsGreaterThan(String value) {
            addCriterion("repeatTips >", value, "repeattips");
            return (Criteria) this;
        }

        public Criteria andRepeattipsGreaterThanOrEqualTo(String value) {
            addCriterion("repeatTips >=", value, "repeattips");
            return (Criteria) this;
        }

        public Criteria andRepeattipsLessThan(String value) {
            addCriterion("repeatTips <", value, "repeattips");
            return (Criteria) this;
        }

        public Criteria andRepeattipsLessThanOrEqualTo(String value) {
            addCriterion("repeatTips <=", value, "repeattips");
            return (Criteria) this;
        }

        public Criteria andRepeattipsLike(String value) {
            addCriterion("repeatTips like", value, "repeattips");
            return (Criteria) this;
        }

        public Criteria andRepeattipsNotLike(String value) {
            addCriterion("repeatTips not like", value, "repeattips");
            return (Criteria) this;
        }

        public Criteria andRepeattipsIn(List<String> values) {
            addCriterion("repeatTips in", values, "repeattips");
            return (Criteria) this;
        }

        public Criteria andRepeattipsNotIn(List<String> values) {
            addCriterion("repeatTips not in", values, "repeattips");
            return (Criteria) this;
        }

        public Criteria andRepeattipsBetween(String value1, String value2) {
            addCriterion("repeatTips between", value1, value2, "repeattips");
            return (Criteria) this;
        }

        public Criteria andRepeattipsNotBetween(String value1, String value2) {
            addCriterion("repeatTips not between", value1, value2, "repeattips");
            return (Criteria) this;
        }

        public Criteria andProbabilityIsNull() {
            addCriterion("probability is null");
            return (Criteria) this;
        }

        public Criteria andProbabilityIsNotNull() {
            addCriterion("probability is not null");
            return (Criteria) this;
        }

        public Criteria andProbabilityEqualTo(Integer value) {
            addCriterion("probability =", value, "probability");
            return (Criteria) this;
        }

        public Criteria andProbabilityNotEqualTo(Integer value) {
            addCriterion("probability <>", value, "probability");
            return (Criteria) this;
        }

        public Criteria andProbabilityGreaterThan(Integer value) {
            addCriterion("probability >", value, "probability");
            return (Criteria) this;
        }

        public Criteria andProbabilityGreaterThanOrEqualTo(Integer value) {
            addCriterion("probability >=", value, "probability");
            return (Criteria) this;
        }

        public Criteria andProbabilityLessThan(Integer value) {
            addCriterion("probability <", value, "probability");
            return (Criteria) this;
        }

        public Criteria andProbabilityLessThanOrEqualTo(Integer value) {
            addCriterion("probability <=", value, "probability");
            return (Criteria) this;
        }

        public Criteria andProbabilityIn(List<Integer> values) {
            addCriterion("probability in", values, "probability");
            return (Criteria) this;
        }

        public Criteria andProbabilityNotIn(List<Integer> values) {
            addCriterion("probability not in", values, "probability");
            return (Criteria) this;
        }

        public Criteria andProbabilityBetween(Integer value1, Integer value2) {
            addCriterion("probability between", value1, value2, "probability");
            return (Criteria) this;
        }

        public Criteria andProbabilityNotBetween(Integer value1, Integer value2) {
            addCriterion("probability not between", value1, value2, "probability");
            return (Criteria) this;
        }

        public Criteria andCounttypeIsNull() {
            addCriterion("countType is null");
            return (Criteria) this;
        }

        public Criteria andCounttypeIsNotNull() {
            addCriterion("countType is not null");
            return (Criteria) this;
        }

        public Criteria andCounttypeEqualTo(Integer value) {
            addCriterion("countType =", value, "counttype");
            return (Criteria) this;
        }

        public Criteria andCounttypeNotEqualTo(Integer value) {
            addCriterion("countType <>", value, "counttype");
            return (Criteria) this;
        }

        public Criteria andCounttypeGreaterThan(Integer value) {
            addCriterion("countType >", value, "counttype");
            return (Criteria) this;
        }

        public Criteria andCounttypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("countType >=", value, "counttype");
            return (Criteria) this;
        }

        public Criteria andCounttypeLessThan(Integer value) {
            addCriterion("countType <", value, "counttype");
            return (Criteria) this;
        }

        public Criteria andCounttypeLessThanOrEqualTo(Integer value) {
            addCriterion("countType <=", value, "counttype");
            return (Criteria) this;
        }

        public Criteria andCounttypeIn(List<Integer> values) {
            addCriterion("countType in", values, "counttype");
            return (Criteria) this;
        }

        public Criteria andCounttypeNotIn(List<Integer> values) {
            addCriterion("countType not in", values, "counttype");
            return (Criteria) this;
        }

        public Criteria andCounttypeBetween(Integer value1, Integer value2) {
            addCriterion("countType between", value1, value2, "counttype");
            return (Criteria) this;
        }

        public Criteria andCounttypeNotBetween(Integer value1, Integer value2) {
            addCriterion("countType not between", value1, value2, "counttype");
            return (Criteria) this;
        }

        public Criteria andMostcountIsNull() {
            addCriterion("mostCount is null");
            return (Criteria) this;
        }

        public Criteria andMostcountIsNotNull() {
            addCriterion("mostCount is not null");
            return (Criteria) this;
        }

        public Criteria andMostcountEqualTo(Integer value) {
            addCriterion("mostCount =", value, "mostcount");
            return (Criteria) this;
        }

        public Criteria andMostcountNotEqualTo(Integer value) {
            addCriterion("mostCount <>", value, "mostcount");
            return (Criteria) this;
        }

        public Criteria andMostcountGreaterThan(Integer value) {
            addCriterion("mostCount >", value, "mostcount");
            return (Criteria) this;
        }

        public Criteria andMostcountGreaterThanOrEqualTo(Integer value) {
            addCriterion("mostCount >=", value, "mostcount");
            return (Criteria) this;
        }

        public Criteria andMostcountLessThan(Integer value) {
            addCriterion("mostCount <", value, "mostcount");
            return (Criteria) this;
        }

        public Criteria andMostcountLessThanOrEqualTo(Integer value) {
            addCriterion("mostCount <=", value, "mostcount");
            return (Criteria) this;
        }

        public Criteria andMostcountIn(List<Integer> values) {
            addCriterion("mostCount in", values, "mostcount");
            return (Criteria) this;
        }

        public Criteria andMostcountNotIn(List<Integer> values) {
            addCriterion("mostCount not in", values, "mostcount");
            return (Criteria) this;
        }

        public Criteria andMostcountBetween(Integer value1, Integer value2) {
            addCriterion("mostCount between", value1, value2, "mostcount");
            return (Criteria) this;
        }

        public Criteria andMostcountNotBetween(Integer value1, Integer value2) {
            addCriterion("mostCount not between", value1, value2, "mostcount");
            return (Criteria) this;
        }

        public Criteria andDaycountIsNull() {
            addCriterion("dayCount is null");
            return (Criteria) this;
        }

        public Criteria andDaycountIsNotNull() {
            addCriterion("dayCount is not null");
            return (Criteria) this;
        }

        public Criteria andDaycountEqualTo(Integer value) {
            addCriterion("dayCount =", value, "daycount");
            return (Criteria) this;
        }

        public Criteria andDaycountNotEqualTo(Integer value) {
            addCriterion("dayCount <>", value, "daycount");
            return (Criteria) this;
        }

        public Criteria andDaycountGreaterThan(Integer value) {
            addCriterion("dayCount >", value, "daycount");
            return (Criteria) this;
        }

        public Criteria andDaycountGreaterThanOrEqualTo(Integer value) {
            addCriterion("dayCount >=", value, "daycount");
            return (Criteria) this;
        }

        public Criteria andDaycountLessThan(Integer value) {
            addCriterion("dayCount <", value, "daycount");
            return (Criteria) this;
        }

        public Criteria andDaycountLessThanOrEqualTo(Integer value) {
            addCriterion("dayCount <=", value, "daycount");
            return (Criteria) this;
        }

        public Criteria andDaycountIn(List<Integer> values) {
            addCriterion("dayCount in", values, "daycount");
            return (Criteria) this;
        }

        public Criteria andDaycountNotIn(List<Integer> values) {
            addCriterion("dayCount not in", values, "daycount");
            return (Criteria) this;
        }

        public Criteria andDaycountBetween(Integer value1, Integer value2) {
            addCriterion("dayCount between", value1, value2, "daycount");
            return (Criteria) this;
        }

        public Criteria andDaycountNotBetween(Integer value1, Integer value2) {
            addCriterion("dayCount not between", value1, value2, "daycount");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIsNull() {
            addCriterion("createUserId is null");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIsNotNull() {
            addCriterion("createUserId is not null");
            return (Criteria) this;
        }

        public Criteria andCreateuseridEqualTo(String value) {
            addCriterion("createUserId =", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotEqualTo(String value) {
            addCriterion("createUserId <>", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridGreaterThan(String value) {
            addCriterion("createUserId >", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridGreaterThanOrEqualTo(String value) {
            addCriterion("createUserId >=", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLessThan(String value) {
            addCriterion("createUserId <", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLessThanOrEqualTo(String value) {
            addCriterion("createUserId <=", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLike(String value) {
            addCriterion("createUserId like", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotLike(String value) {
            addCriterion("createUserId not like", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIn(List<String> values) {
            addCriterion("createUserId in", values, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotIn(List<String> values) {
            addCriterion("createUserId not in", values, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridBetween(String value1, String value2) {
            addCriterion("createUserId between", value1, value2, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotBetween(String value1, String value2) {
            addCriterion("createUserId not between", value1, value2, "createuserid");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridIsNull() {
            addCriterion("updateUserId is null");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridIsNotNull() {
            addCriterion("updateUserId is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridEqualTo(String value) {
            addCriterion("updateUserId =", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotEqualTo(String value) {
            addCriterion("updateUserId <>", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridGreaterThan(String value) {
            addCriterion("updateUserId >", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridGreaterThanOrEqualTo(String value) {
            addCriterion("updateUserId >=", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridLessThan(String value) {
            addCriterion("updateUserId <", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridLessThanOrEqualTo(String value) {
            addCriterion("updateUserId <=", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridLike(String value) {
            addCriterion("updateUserId like", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotLike(String value) {
            addCriterion("updateUserId not like", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridIn(List<String> values) {
            addCriterion("updateUserId in", values, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotIn(List<String> values) {
            addCriterion("updateUserId not in", values, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridBetween(String value1, String value2) {
            addCriterion("updateUserId between", value1, value2, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotBetween(String value1, String value2) {
            addCriterion("updateUserId not between", value1, value2, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}